libxl: libxl_device_console.build_state is const
authorIan Campbell <ian.campbell@citrix.com>
Thu, 19 Aug 2010 14:21:01 +0000 (15:21 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 19 Aug 2010 14:21:01 +0000 (15:21 +0100)
commit5ccd288712f8a5d1a65f8231e517ece0bd225468
tree6aed56772969780e976d50adc27d665f8791e07f
parentbcbf6e2049191fb218ff288106d0744430011dc9
libxl: libxl_device_console.build_state is const

This field always refers to a libxl_domain_build_state structure which
is managed already by the caller, therefore it is incorrect to free it
as part of libxl_device_console_destroy.

(arguably this field should be a copy of, not a reference too, the original)

[PATCH 06 of 16 of
 libxl: autogenerate type definitions and destructor functions]

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.idl